<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../../style.css" type="text/css" media="screen">
<link rel="stylesheet" href="../../print.css" type="text/css" media="print">
<meta content="AlertUtil,richmediaplus.utils.AlertUtil,setMsgXML,showOKMsg,showYesCancelMsg,showYesNoCancelMsg,showYesNoMsg" name="keywords">
<title>richmediaplus.utils.AlertUtil</title>
</head>
<body>
<script type="text/javascript" language="javascript" src="../../asdoc.js"></script><script type="text/javascript" language="javascript" src="../../cookies.js"></script><script type="text/javascript" language="javascript">
<!--
				asdocTitle = 'AlertUtil - API Documentation';
				var baseRef = '../../';
				window.onload = configPage;
			--></script>
<table style="display:none" id="titleTable" cellspacing="0" cellpadding="0" class="titleTable">
<tr>
<td align="left" class="titleTableTitle">API Documentation</td><td align="right" class="titleTableTopNav"><a onclick="loadClassListFrame('../../all-classes.html')" href="../../package-summary.html">All&nbsp;Packages</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../all-classes.html')" href="../../class-summary.html">All&nbsp;Classes</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../index-list.html')" href="../../all-index-A.html">Index</a>&nbsp;|&nbsp;<a href="../../index.html?richmediaplus/utils/AlertUtil.html&amp;richmediaplus/utils/class-list.html" id="framesLink1">Frames</a><a onclick="parent.location=document.location" href="" style="display:none" id="noFramesLink1">No&nbsp;Frames</a></td><td rowspan="3" align="right" class="titleTableLogo"><img alt="Adobe Logo" title="Adobe Logo" class="logoImage" src="../../images/logo.jpg"></td>
</tr>
<tr class="titleTableRow2">
<td align="left" id="subTitle" class="titleTableSubTitle">Class&nbsp;AlertUtil</td><td align="right" id="subNav" class="titleTableSubNav"><a href="#methodSummary">Methods</a></td>
</tr>
<tr class="titleTableRow3">
<td colspan="2">&nbsp;</td>
</tr>
</table>
<script type="text/javascript" language="javascript">
<!--
if (!isEclipse() || window.name != ECLIPSE_FRAME_NAME) {titleBar_setSubTitle("Class AlertUtil"); titleBar_setSubNav(false,false,false,false,false,false,true,false,false,false,false,false,false,false);}
--></script>
<div class="MainContent">
<table cellspacing="0" cellpadding="0" class="classHeaderTable">
<tr>
<td class="classHeaderTableLabel">Package</td><td><a onclick="javascript:loadClassListFrame('class-list.html')" href="package-detail.html">richmediaplus.utils</a></td>
</tr>
<tr>
<td class="classHeaderTableLabel">Class</td><td class="classSignature">public class AlertUtil</td>
</tr>
</table>
<p></p>
  AlertUtil
  Alert Manager in Flex Porject
  <p></p>
<br>
<hr>
</div>
<a name="methodSummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Public Methods</div>
<table id="summaryTableMethod" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Method</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#setMsgXML()">setMsgXML</a>(value:XML):void</div>
<div class="summaryTableDescription">[static]
   Set the Message XML Data to use AlertUtil.</div>
</td><td class="summaryTableOwnerCol">AlertUtil</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#showOKMsg()">showOKMsg</a>(msgNode:String = "", closeHandler:Function = null, parameters:Array = null, parent:Sprite = null, title:String = ""):Alert</div>
<div class="summaryTableDescription">[static]
   Show OK Message.</div>
</td><td class="summaryTableOwnerCol">AlertUtil</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#showYesCancelMsg()">showYesCancelMsg</a>(msgNode:String, closeHandler:Function = null, parameters:Array = null, parent:Sprite = null, defaultButtonFlag:uint = 0x0008, title:String = ""):Alert</div>
<div class="summaryTableDescription">[static]
   Show YES|CANCEL Message
   </div>
</td><td class="summaryTableOwnerCol">AlertUtil</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#showYesNoCancelMsg()">showYesNoCancelMsg</a>(msgNode:String, closeHandler:Function = null, parameters:Array = null, parent:Sprite = null, defaultButtonFlag:uint = 0x0008, title:String = ""):Alert</div>
<div class="summaryTableDescription">[static]
   Show YES|NO|CANCEL Message.</div>
</td><td class="summaryTableOwnerCol">AlertUtil</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#showYesNoMsg()">showYesNoMsg</a>(msgNode:String = "", closeHandler:Function = null, parameters:Array = null, parent:Sprite = null, defaultButtonFlag:uint = 0x0002, title:String = ""):Alert</div>
<div class="summaryTableDescription">[static]
   Show YES|NO Message
   </div>
</td><td class="summaryTableOwnerCol">AlertUtil</td>
</tr>
</table>
</div>
<script type="text/javascript" language="javascript">
<!--
showHideInherited();
--></script>
<div class="MainContent">
<a name="methodDetail"></a>
<div class="detailSectionHeader">Method detail</div>
<a name="setMsgXML()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">setMsgXML</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td>
</tr>
</table>
<div class="detailBody">
<code>public static function setMsgXML(value:XML):void</code><p>
   Set the Message XML Data to use AlertUtil.
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">value</span>:XML</code> &mdash; Message Data
   </td>
</tr>
</table>
</div>
<a name="showOKMsg()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">showOKMsg</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static function showOKMsg(msgNode:String = "", closeHandler:Function = null, parameters:Array = null, parent:Sprite = null, title:String = ""):Alert</code><p>
   Show OK Message.
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">msgNode</span>:String</code> (default = "<code></code>")<code></code> &mdash; Specifies the message xmlNode for find text message in message XML.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">closeHandler</span>:Function</code> (default = <code>null</code>)<code></code> &mdash; Specifies the listener for click events from the buttons.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">parameters</span>:Array</code> (default = <code>null</code>)<code></code> &mdash; Message's parameters.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">parent</span>:Sprite</code> (default = <code>null</code>)<code></code> &mdash; The parent object of the Alert control.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">title</span>:String</code> (default = "<code></code>")<code></code> &mdash; Specifies the dialog box title.
   </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>Alert</code> &mdash; mx.controls.Alert
   </td>
</tr>
</table>
</div>
<a name="showYesCancelMsg()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">showYesCancelMsg</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static function showYesCancelMsg(msgNode:String, closeHandler:Function = null, parameters:Array = null, parent:Sprite = null, defaultButtonFlag:uint = 0x0008, title:String = ""):Alert</code><p>
   Show YES|CANCEL Message
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">msgNode</span>:String</code> &mdash; Specifies the message xmlNode for find text message in message XML.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">closeHandler</span>:Function</code> (default = <code>null</code>)<code></code> &mdash; Specifies the listener for click events from the buttons.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">parameters</span>:Array</code> (default = <code>null</code>)<code></code> &mdash; Message's parameters.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">parent</span>:Sprite</code> (default = <code>null</code>)<code></code> &mdash; The parent object of the Alert control.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">defaultButtonFlag</span>:uint</code> (default = <code>0x0008</code>)<code></code> &mdash; A bitflag that specifies the default button.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">title</span>:String</code> (default = "<code></code>")<code></code> &mdash; Specifies the dialog box title.
   </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>Alert</code> &mdash; mx.controls.Alert
   </td>
</tr>
</table>
</div>
<a name="showYesNoCancelMsg()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">showYesNoCancelMsg</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static function showYesNoCancelMsg(msgNode:String, closeHandler:Function = null, parameters:Array = null, parent:Sprite = null, defaultButtonFlag:uint = 0x0008, title:String = ""):Alert</code><p>
   Show YES|NO|CANCEL Message.
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">msgNode</span>:String</code> &mdash; Specifies the message xmlNode for find text message in message XML.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">closeHandler</span>:Function</code> (default = <code>null</code>)<code></code> &mdash; Specifies the listener for click events from the buttons.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">parameters</span>:Array</code> (default = <code>null</code>)<code></code> &mdash; Message's parameters.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">parent</span>:Sprite</code> (default = <code>null</code>)<code></code> &mdash; The parent object of the Alert control.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">defaultButtonFlag</span>:uint</code> (default = <code>0x0008</code>)<code></code> &mdash; A bitflag that specifies the default button.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">title</span>:String</code> (default = "<code></code>")<code></code> &mdash; Specifies the dialog box title.
   </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>Alert</code> &mdash; mx.controls.Alert
   
   </td>
</tr>
</table>
</div>
<a name="showYesNoMsg()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">showYesNoMsg</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static function showYesNoMsg(msgNode:String = "", closeHandler:Function = null, parameters:Array = null, parent:Sprite = null, defaultButtonFlag:uint = 0x0002, title:String = ""):Alert</code><p>
   Show YES|NO Message
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">msgNode</span>:String</code> (default = "<code></code>")<code></code> &mdash; Specifies the message xmlNode for find text message in message XML.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">closeHandler</span>:Function</code> (default = <code>null</code>)<code></code> &mdash; Specifies the listener for click events from the buttons.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">parameters</span>:Array</code> (default = <code>null</code>)<code></code> &mdash; Message's parameters.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">parent</span>:Sprite</code> (default = <code>null</code>)<code></code> &mdash; The parent object of the Alert control.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">defaultButtonFlag</span>:uint</code> (default = <code>0x0002</code>)<code></code> &mdash; A bitflag that specifies the default button.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">title</span>:String</code> (default = "<code></code>")<code></code> &mdash; Specifies the dialog box title.
   </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>Alert</code> &mdash; mx.controls.Alert
   </td>
</tr>
</table>
</div>
<br>
<br>
<hr>
<br>
<p></p>
<center class="copyright"> 
</center>
</div>
</body>
</html>
<!-- -->
